Summary
EA Send mail is typically inserted in a presentation template, the component builds an email-message that is sent to the recipient/s. There are security issues with this component, see the Remarks section for more information.
Category | AS EPT |
Version | 1.1 |
Complies with Xhtml 1.0 / 1.1 rules | Yes |
Supported server programming languages | C# Visual Basic.NET |
Output content type | Unspecified or not applicable |
When to use
This component is typically used in an EPT presentation template to offer visitors a possiblity for sending email messages.
Programming interface
Parameters
- Mail server settings
- Server name
- Optional mail server name or IP adress, leave empty to use default smtp-server specified in CS-Settings.
- Email addresses
- Static from
- An email address that specifies the "From" address.
- EPT From
- The name of an EPT field containing the "From" email address. This value is ignored if the Static from parameter is supplied.
- Static to
- An email address that specifies the "To" address.
- EPT to
- The name of an EPT field containing the "To" email address. This value is ignored if the Static to parameter is supplied.
- Static cc
- An email address that specifies the "CC" (carbon copy) address.
- EPT cc
- The name of an EPT field containing the "CC" (carbon copy) email address. This value is ignored if the Static cc parameter is supplied.
- Static bcc
- An email address that specifies the "BCC" (blind carbon copy) address.
- EPT bcc
- The name of an EPT field containing the "BCC" (blind carbon copy) email address. This value is ignored if the Static bcc parameter is supplied.
- Static subject
- A string that specifies the subject of the message.
- EPT subject
- The name of an EPT field containing the subject of the message. This value is ignored if the Static subject parameter is supplied.
- Presentation
- Presentation template id
- Optional, a presentation template to use.
- Settings
- Extra query string
- Extra query string value. Used when the mail object generates the html-mail.
- Send once
- If this parameter is set to true, an email message is only sent when the first revision of the document is created.
- If this parameter is set to false, an email message will be sent everytime a new revision of the document is created.
- Plain text
- Send the email message as plain text only.
- EPT send mail
- Optional EPT-field that can be used for controlling if an email should be sent or not. (Value 1 = Send)
- Authentication.
-
Warning!
Username and password will be stored in clear text!
Make sure that only administrators have right to administer the document where this component is inserted. - User name
- Optional, the username to use for authentication when the component connects to the mail server.
- Password
- Optional, the password to use for authentication when the component connects to the mail server.
- Error trapping
- Error email address
- An email address to which Content Studio sends a message if any errors occurs.
Remarks
Security Warning
If the mail server requires authentication and you supply a username and password,
these values will be stored in plain text format on the page where EA Send Mail
is inserted. For this reason make sure that the follwing is true:
- Use a mailservice account dedicate for the purpose of sending mail from Content Studio. If the mailserver is an Exchange server this account must be a Windows Account and should have very limited rights on your computer and on your network.
- Make sure that only trusted persons have READ access on the documents where this component is inserted.
However, this is security issue in administative mode only, where a user can read the document's source code - when the page is viewed on the Web page the credentials are not readable.